package crl.lottery.model.vo
{
	public class ItemVO implements IXMLBinder
	{
		public var order:int;
		public var odds:int=-1;
		public var id:String;
		public var value:String;
		public var name:String;
		
		public function ItemVO()
		{
		}
		
		public function bindXML(xml:XML):void
		{
			var pro:String;
			for each(var item:XML in xml.attributes()){
				pro=item.localName();
				if(this.hasOwnProperty(pro)==true){
					this[pro]=item.toString();
				}
			}
			
			this.name=xml.text().toString();

		}
	}
}